<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>消费订单</title>
    <link rel="stylesheet" href="../common/bootstrap/bootstrap.min.css">
    <link rel="stylesheet" href="../common/bootstrap/table/css/bootstrap-table.min.css">
    <link rel="stylesheet" href="../common/css/common.css">
    <link type="text/css" rel="stylesheet" href="../common/toastr/toastr.min.css">
</head>

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    修改员工信息
                </h4>
            </div>
            <div class="modal-body">
                <form id="staffForm">
                    <div class="row">
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">订单编号</span>
                                <input class="form-control" placeholder="订单编号" readonly="readonly" name="orderId"
                                       id="orderId">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">会员卡号</span>
                                <input class="form-control" placeholder="会员卡号" name="cardId" id="cardId">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">会员等级</span>
                                <select class="form-control" id="cardType" name="cardType">
                                    <option value="1">普通会员</option>
                                    <option value="2">青铜会员</option>
                                    <option value="3">白银会员</option>
                                    <option value="4">黄金会员</option>
                                    <option value="5">铂金会员</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group input-group">
                            <span class="input-group-addon">应付金额</span>
                            <input class="form-control" placeholder="应付金额" name="price" id="price">
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group input-group">
                            <span class="input-group-addon">实付金额</span>
                            <input class="form-control" placeholder="实付金额" name="pay" id="pay">
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group input-group">
                            <span class="input-group-addon">商品积分</span>
                            <input class="form-control" placeholder="商品积分" name="credit" id="credit">
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group input-group">
                            <span class="input-group-addon">会员等级</span>
                            <select class="form-control" id="status" name="status">
                                <option value="0">未审核</option>
                                <option value="1">已审核</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group input-group">
                                <span class="input-group-addon">备注</span>
                                <input class="form-control" placeholder="备注" name="momo" id="momo">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" class="btn btn-primary" onclick="updateOrder()">
                    确认
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<body>

<div class="form-groupd">
    <label for="searchOrderId" class="label-control">订单编号</label>
    <input type="text" class="form-control" id="searchOrderId" placeholder="订单编号">
</div>
<div class="form-groupd">
    <label for="searchCardId" class="label-control">会员卡号</label>
    <input type="text" class="form-control" id="searchCardId" placeholder="会员卡号">
</div>
<button type="button" class="btn btn-primary" onclick="staffManage.search()">搜索订单</button>

<div class="tab-pane">
    <table class="table table-striped table-hover table-bordered" id="staffList">
        <thead style="background-color: #BEDDFA">

        </thead>
    </table>
</div>

<!-- system modal start -->
<div id="ycf-alert" class="modal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
                        class="sr-only">Close</span></button>
                <h5 class="modal-title"><i class="fa fa-exclamation-circle"></i> [Title]</h5>
            </div>
            <div class="modal-body">
                <p>[Message]</p>
            </div>
            <div class="modal-footer">
                <center>
                    <button type="button" class="btn btn-primary ok" data-dismiss="modal">[BtnOk]</button>
                    <button type="button" class="btn btn-default cancel" data-dismiss="modal">[BtnCancel]</button>
                </center>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="../common/validate/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="../common/toastr/toastr.min.js"></script>
<script type="text/javascript" src="../common/confirm/bootstrap.confirm.js"></script>
<script src="orderList.js"></script>
</body>
</html>